﻿<%@ page pageEncoding="utf-8"%>
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
  <meta http-equiv="Expires" content="0">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">

  <title>ITSM</title>
  <link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet">

  <link href="css/angular-input-stars.css" rel="stylesheet">
  
    <link href="lib/ionic/css/ionic.min.css" rel="stylesheet">
    <link href="lib/nsPopover/nsPopover.css" rel="stylesheet">
    <link href="lib/angular-chart/angular-chart.css" rel="stylesheet">
  
  <link rel="stylesheet" href="css/style.css">
  
  <!--<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>-->
  <script src="js/jweixin-1.2.0.js"></script>
  
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
  <script type="text/javascript" src="lib/ionic/js/ionic.bundle.min.js"></script>
    
    <!--<script type="text/javascript" src="lib/nsPopover/nsPopover.js"></script>-->
    <!--<script type="text/javascript" src="lib/datejs/date.js"></script>-->

    <!--<script type="text/javascript" src="lib/Chart.min.js"></script>-->
    <!--<script type="text/javascript" src="lib/angular-chart/angular-chart.min.js"></script>-->

    <!--<script src="lib/datePicker/js/angular-pickadate.js"></script>-->
    <!-- angular date picker css-->
    <!--<link href="lib/datePicker/css/angular-pickadate.css" rel="stylesheet">-->

    <!--<script src="lib/highcharts.js"></script>-->
    <!--<script type="text/javascript" src="lib/highcharts-ng.js"></script>-->
    
    <!--<script src="js/ng-cordova.min.js"></script>-->
    <!--<script type="text/javascript" src="cordova.js"></script>-->
    <script src="js/common.js"></script>
  <script src="js/app.js?v=<%=System.currentTimeMillis()%>"></script>
  <script src="js/animations.js"></script>
  <script src="js/controllers.js?v=<%=System.currentTimeMillis()%>"></script>
  <script src="js/filters.js"></script>
  <script src="js/services.js"></script>

  <script src="js/angular-input-stars.js"></script>
  
  <script>
  	var userObject=<%=request.getAttribute("userObject")%>;
	var weixinSign=<%=request.getAttribute("weixinSign")%>;
	
	// 配置企业微信	
	 wx.config({
	 	beta: true, // 必须这么写，否则在微信插件有些jsapi会有问题
	 	debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
	 	appId: weixinSign.appId, // 必填，企业微信的cropID
	 	timestamp: weixinSign.timestamp, // 必填，生成签名的时间戳
	 	nonceStr: weixinSign.nonceStr, // 必填，生成签名的随机串
	 	signature: weixinSign.signature, // 必填，签名，见附录1
	 	jsApiList: ["chooseImage","previewImage","uploadImage","downloadImage","previewFile"] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
	 });
  
	Session.saveObject("user", userObject.object);
	Session.saveObject("usertype", userObject.object.usertype);
	Store.saveObject("cacheusername",userObject.object.username);
</script>  

</head>
<body ng-app="ItsmApp">
  
    <ion-nav-bar class="bar-positive nav-title-slide-ios7">
      <ion-nav-back-button class="button-icon ion-ios-arrow-back button-clear">
    
      </ion-nav-back-button>
    </ion-nav-bar> 
  
    <ion-nav-view animation="slide-left-right"></ion-nav-view>  
</body>
</html>
